package com.erp.quertz.customer;

import com.erp.erp_servers.Customer.imp.ImpCustomerService;
import com.erp.quertz.SpringUtil;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class CustomerAutoPubPoolJob   implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        ImpCustomerService customerService = SpringUtil.getBean(ImpCustomerService.class);
        int num =0;

         num = customerService.contactCountByDays("90");
        System.out.println(num);
        // map.put("contact85",getkztCode(customerDAO.contactCountByDays("85")));
    }
}
